package com.njym.java.security.admin.biz;

import com.github.pagehelper.PageHelper;
import com.njym.java.security.admin.entity.IdentityApply;
import com.njym.java.security.admin.entity.IdentityApplyVo;
import com.njym.java.security.admin.mapper.IdentityApplyMapper;
import com.njym.java.security.common.biz.BaseBiz;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 
 *
 * @author lijie
 * @email 717057076@qq.com
 * @date 2019-12-24 14:22:47
 */
@Service
public class IdentityApplyBiz extends BaseBiz<IdentityApplyMapper,IdentityApply> {
    @Resource
    private IdentityApplyMapper identityApplyMapper;

    public List<IdentityApplyVo> queryList(String name, String mobile, Integer page, Integer limit){
        PageHelper.startPage(page, limit);
        return identityApplyMapper.queryList(name, mobile);
    }
}